package com.Jshop.order.pojo;

import com.leyou.item.pojo.Sku;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description //秒杀订单发送至队列
 * @Param
 * @return
 * @Date  2021/11/14
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderTransfer implements Serializable {
    //用户名
    private String userName;
    //用户id
    private Long userId;
    //秒杀商品ID
    private Long secKillGoodId;
    //秒杀商品Hash时间段
    private String time;
    private SeckillGoods good;
}
